package dao;

import java.util.List;

import imageUtil.Page;
import model.Supplier;

public interface SupplierDAO {

	public int findByCount() throws Exception;

	public List<Supplier> findByAll(Page page) throws Exception;

	public boolean saveSupplier(Supplier supplier) throws Exception;

	public boolean updateSupplier(Supplier supplier) throws Exception;

	public List<Supplier> findByName() throws Exception;

	public String findNameById(int id) throws Exception;

}
